<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/ZooMaster.master"
    CodeFile="ProfileDetail.aspx.cs" Inherits="ProfileDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table>
        <tr>
            <td>
                                   
                    <asp:Image ID="ImgGender" runat="server" ImageUrl='<%# "~/Images/gender_symbol_"+UserIdentity.GenderCode+".jpg" %>' Width="22px" />&nbsp;<asp:Label ID="LblNickName" runat="server" Text='<%# UserIdentity.NickName %>' />&nbsp;&nbsp;
                
                online:
                <asp:Image ID="ImgOnline" runat="server" ImageUrl='<%# "~/Images/Online_"+UserIdentity.Online.ToString()+".jpg" %>' Width="22px" />&nbsp;&nbsp;
                <asp:Label ID="LblRegistrationDate" runat="server" Text='<%# Dico["LblRegistrationDate"]  %>' />:
                <asp:Label ID="LblRegistrationDateValue" runat="server" Text='<%# UserIdentity.RegistrationDate.ToString("dd/MMM/yyyy")%>' />&nbsp;&nbsp;
                <asp:Label ID="LblLastLogin" runat="server" Text='<%# Dico["LblLastLogin"]  %>' />:
                <asp:Label ID="LblLastLoginValue" runat="server" Text='<%# UserIdentity.LastLogin.ToString("dd/MMM/yyyy")%>' />
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="ImgProfilePicture" runat="server" ImageUrl='<%# UserIdentity.PictureUrl %>'
                                Height="160" />
                        </td>
                        <td>
                            <table>
                                <tr>
                                    <td> 
                                        <div>
                                            <asp:Label ID="LblSeeking" runat="server" Text='<%# Dico["LblSeeking"] %>'></asp:Label>
                                            <asp:Image ID="ImgSeekingValue" runat="server" ImageUrl='<%# "~/Images/gender_symbol_"+UserIdentity.SeekingCode+".jpg" %>' />
                                        </div>
                                        <div>
                                            <asp:Label ID="LblBornDate" runat="server" Text='<%# Dico["LblBornDate"] %>'></asp:Label>:
                                            <asp:Label ID="LblBornDateValue" runat="server" Text='<%# UserIdentity.BornDate.ToString("dd/MMM/yyyy") %>' />
                                        </div>
                                        <div>
                                            <asp:Label ID="LblLanguage" runat="server" Text='<%# Dico["LblLanguage"] %>'></asp:Label>:
                                            <asp:Label ID="LblLanguageValue" runat="server" Text='<%# Dico["LanguageValues_"+UserIdentity.Language] %>' />
                                        </div>
                                        <div>
                                            <asp:Label ID="LblCountry" runat="server" Text='<%# Dico["LblCountry"] %>'></asp:Label>:
                                            <asp:Label ID="LblCountryValue" runat="server" Text='<%# Dico[UserIdentity.CountryCode] %>'/>
                                        </div>
                                        <div>
                                            <asp:Label ID="LblRegion" runat="server" Text='<%# Dico["LblRegion"] %>' />:
                                            <asp:Label ID="LblRegionValue" runat="server" Text='<%# Dico[UserIdentity.RegionCode] %>' />
                                        </div>
                                        <div>
                                            <asp:Label ID="LblCity" runat="server" Text='<%# Dico["LblCity"] %>'/>:
                                           <asp:Label ID="LblCityValue" runat="server" Text='<%#UserIdentity.City %>'/> 
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LblDescription" runat="server" Text='<%#UserIdentity.Description %>'/>
            </td>
        </tr>
    </table>
</asp:Content>
